package request

//会员添加请求

type RegisterReq struct {
	Username string  `json:"username" form:"username"`
	Password string  `json:"password" form:"password"`
	Level    string  `json:"level" form:"level"`
	Name     string  `json:"name" form:"name"`
	Sex      string  `json:"sex" form:"sex"`
	Email    string  `json:"email" form:"email"`
	Money    float64 `json:"money" form:"money"`
	Score    int64   `json:"score" form:"score"`
	Phone    string  `json:"phone" form:"phone"`
	Status   int8    `json:"status" form:"status"`
}

//会员列表请求

type ListReq struct {
	Username string `json:"username" form:"username"`
}

//会员登录请求

type LoginReq struct {
	Username string `json:"username" form:"username"`
}

//会员修改请求

type UpdateReq struct {
	Username string `json:"username" form:"username"`
}

//会员删除请求

type DeleteReq struct {
	Id int `json:"id" form:"id"`
}
